﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Server.BusinessServer.ProcureMentServices.Dto
{
    public class ProcureReturnDto
    {
        /// <summary>
        /// 采购Id
        /// </summary>
        public int ProcuremenId { get; set; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 单据类型
        /// </summary>
        public int DocumentType { get; set; }
        /// <summary>
        /// 单据状态
        /// </summary>
        public int DocumentState { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string? UsreName { get; set; }
        /// <summary>
        /// 制单日期
        /// </summary>
        public DateTime UserTime { get; set; }
        /// <summary>
        /// 发货日期
        /// </summary>
        public DateTime ShipmentsTime { get; set; }
        /// <summary>
        /// 退货数
        /// </summary>
        public int ReturnNumber { get; set; }
        /// <summary>
        /// 总额
        /// </summary>
        public decimal ReturnSum { get; set; }
        /// <summary>
        /// 采购单号
        /// </summary>
        public string? ProcurementCode { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int ReturnState { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime ReturnTime { get; set; }
        /// <summary>
        /// 审核原因
        /// </summary>
        public string? AuditRemark { get; set; }

        public List<ShoppingDto>? ShoppingDto { get; set; }
    }
}
